| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Macros
RendererConfigurationHelpers.h File Reference

Go to the source code of this file.

## Macros
#define | NK_D3D12_USE_AGILITY_SDK(path)

## Macro Definition Documentation

## ◆ NK_D3D12_USE_AGILITY_SDK

#define NK_D3D12_USE_AGILITY_SDK | ( |  | path | ) |

Macro to use in the main executable source code to declare the use of the DirectX12 Agility SDK. For more information on what the Agility SDK is, please check here. But in a nutshell, it allows to front run the Windows OS version updates, enabling the use of the latest DirectX features more quickly.
This macro can be used in your main source file, simply write, after including this file :

NK_D3D12_USE_AGILITY_SDK(".\\PathRelativeToExecutable\\")

This will cause the runtime to detect the use of the Agility SDK, making it seek the D3D12Core.dll in the folder pointed by the path provided. Said dll needs to be available there, or the renderer won't start anymore.
Please note that this is only compatible with the RENDERING_API::D3D12 renderer.
Lastly, the D3D12Core.dll the component has been built against is available in the release's Bin folder.

Parameters

  path | The path to the Agility SDK dll's folder, relative to the executable.

Remarks
  You can also use the macro NK_D3D12_USE_AGILITY_SDK_DEFAULT_PATH, which will set it up to look for the dll in the "D3D12" subfolder. This is how the DirectX team advises to do it.